let message: string  = 'hello typescript'
message = 123
function foo(payload: string){
    console.log(payload.length);
}

foo(123)
// foo("圣诞节卡萨斯吧")